/** @format */

import React, {Component} from 'react';

import styles from '../Styles/main';

import {
  Text,
  View,
  NavigatorIOS,
  WebView,
} from 'react-native';

class Login extends React.Component {

  onNavigationStateChange(state) {
    console.log(state)
  }

  render() {
    return (
      <WebView
        startInLoadingState={true}
        bounces={false}
        //scrollEnabled={false}
        onNavigationStateChange={this.onNavigationStateChange}
        source="https://www.baidu.com"
      />
    );

  }
}

export {Login as default}
